﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace FutureApp.Web.Models.Account
{
    public class LoginViewModel
    {
        public string TenancyName { get; set; }

        [Required(ErrorMessage = "用户名或邮箱地址不能为空")]
        public string UsernameOrEmailAddress { get; set; }
        
        [Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }

        public bool RememberMe { get; set; }
    }
}